<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Error</title>
  <style type="text/css">
    body{
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size:82.5%;
	position:relative;
        color:#666666;
    }
    .container{
        margin:200px auto;
   }
  </style>
</head>
<body>
    <div class="container" align="center">
      <h1>Ooops! Ha ocurrido un error</h1>
      <h2><?php echo $this->message ?></h2>

      <?php if (isset($this->exception)): ?>

      <h3>Informe del error:</h3>
      <p>
          <b>Mensaje del sistema:</b> <?php echo $this->exception->getMessage() ?>
      </p>

      <h3>Stack Trace:</h3>
      <pre><?php echo $this->exception->getTraceAsString() ?>
      </pre>

      <h3>Parametros solicitados:</h3>
      <pre><?php echo var_export($this->request->getParams(), true) ?>
      </pre>
      <?php endif ?>
    </div>
</body>
</html>